package com.dingyh.shopwebbackground.service;

import com.dingyh.shopwebbackground.entity.Coupons;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dingyuhan
 * @since 2023-02-22
 */
public interface CouponsService extends IService<Coupons> {

    List<Coupons> getAllCoupons();
    List<Coupons> selectByIdCoupons(Map<String,Object> map);
    List<Coupons> selectByName(Map<String,Object> map);
    boolean removeCoupons(Coupons coupons);

}
